package org.jsola.hr.dao;

import org.apache.ibatis.annotations.Param;
import org.jsola.hr.entity.EmpPaperContractDO;
import org.jsola.orm.mapper.IJsolaMapper;
import org.springframework.stereotype.Repository;


/**
 * 纸质合同
 *
 * @author zhr
 */
@Repository("hrEmpPaperContractDAO")
public interface IEmpPaperContractDAO extends IJsolaMapper<EmpPaperContractDO> {

    /**
     * 根据用户ID和站点id删除数据
     * @param empId 用户id
     * @param siteId 站点id
     * @return 删除个数
     */
    Integer updateEmpPaperContractByUserId(@Param("empId")String empId, @Param("siteId")String siteId);

}

